<template>
   <div class="container">
   <el-button>
    <span>全屏</span>
   </el-button>
    <div class="welcome">
        <div class="top">
            <div class="article">
                <div class="article_user">

                </div>
                <div class="article_data">
                    <!-- <div class="calendar">
                        <div class="date-title">日历</div>
                        <div class="el-calendar">
                            <el-calendar ref="calendar">
                                <template #header="{ date }">
                                    <span>2022年12月</span>
                                    <el-button-group>
                                        <el-button size="small">上个月</el-button>
                                        <el-button size="small">今天</el-button>
                                        <el-button size="small">下个月</el-button>
                                    </el-button-group>
                                </template>
                            </el-calendar>
                        </div>
                    </div> -->
                </div>
            </div>
            <div class="aside"></div>
        </div>
        <div class="bottom"></div>
    </div>
   </div>
</template>
<script  setup>
import { ref } from 'vue'
const calendar = ref()
const selectDate = (val) => {
  calendar.value.selectDate(val)
}
</script>
<script>
export default{
    meta:{
        title: 'sjtj', 
        name: '数据统计',
        routeName:"statistics",
        icon:"#icon-shuju2",
    }
}
</script>
<style lang="less" scoped>
.container{
    height: 100%;
}
.el-button {
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    background: #fff;
    border: 1px solid #dcdfe6;
    color: #606266;
    -webkit-appearance: none;
    text-align: center;
    box-sizing: border-box;
    outline: 0;
    margin: 0;
    transition: .1s;
    font-weight: 500;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 4px;
}
.welcome{
    background-image: linear-gradient(135deg,#4c67ff,#5635df);
    margin-top: 5px;
    color: #666;
    display: flex;
    height: 90%;
    flex-direction: column;
    justify-content: space-between;
}
.top{
    display: flex;
    flex: 7;
    justify-content: space-around;
    margin-bottom: 5px;
    margin: 5px;
    .article{
        flex: 3;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-right: 5px;
    }
    .aside{
        flex: 7;
        display: flex;
        flex-direction: column;
    }
}
.article__user{
    display: flex;
    flex: 4;
    margin-bottom: 5px;
    justify-content: space-around;
    align-items: center;
}
.article__date {
    height: 100%;
    flex: 6;
}
.date-title {
    height: 30px;
    background: #2aac98;
    color: #fff;
    line-height: 30px;
    font-weight: bolder;
    border-radius: 10px 10px 0 0;
}
.bottom--achieve{
    display: flex;
    flex: 3;
}

</style>